
<div>
	<div style="float:left;width:200px;">
		<?php n_mod('user')->sidebar();?>
	</div>
	<div class="main-border">
		<form method="post" action="<?=n_url('user', 'updateUserInfo')?>">
		<dl class="n-box">
			<dt class="n-box-head"><b>个人信息</b></dt>
			<dd class="n-box-body">
				<dl class="n-form n-sep-top">
					<dt>昵称：</dt>
					<dd><input type="text" name="nickname" value="<?=$data['nickname']?>"></dd>
					<dt>生日：</dt>
					<dd><input type="text" name="birthday" value="<?=date('Y-m-d', $data['birthday'])?>"></dd>
					<dt>性别：</dt>
					<dd>
						<select name="gender">
							<option value="1" <?=$data['gender'] == 1 ? 'selected' : ''?>>男</option>
							<option value="0" <?=$data['gender'] == 0 ? 'selected' : ''?>>女</option>
						</select>
					</dd>
					<dt>职业：</dt>
					<dd><input type="text" name="job" value="<?=$data['job']?>"></dd>
					<dt>手机号：</dt>
					<dd><input type="text" name="phone" value="<?=$data['phone']?>"></dd>
					<dt>&nbsp;</dt>
					<dd><button>保存</button></dd>
				</dl>
				
			</dd>
		</dl>
		</form>
		
		<dl class="n-box">
			<dt class="n-box-head"><b>广告主信息</b></dt>
			<dd class="n-box-body">
				<div style="margin:30px;">//todo</div>
			</dd>
		</dl>		
	</div>
</div>


